#!/bin/bash
# deploy jffi to maven repo

wget -c https://github.com/jnr/jffi/archive/refs/tags/jffi-1.3.13.tar.gz
tar -zxf ./jffi-1.3.13.tar.gz 
rm ./jffi-1.3.13.tar.gz
pushd jffi-jffi-1.3.13/ || exit

ant jar && ant archive-platform-jar && mvn package install

popd || exit
